package olga.gorbatiuk.perdep.dao.daofactory.impl;

import java.sql.Connection;
import olga.gorbatiuk.perdep.dao.DAOFactory;
import olga.gorbatiuk.perdep.dao.concretedao.CustomerDAO;
import olga.gorbatiuk.perdep.dao.concretedao.DepartmentDAO;
import olga.gorbatiuk.perdep.dao.concretedao.EmployeeDAO;
import olga.gorbatiuk.perdep.dao.concretedao.PositionDAO;
import olga.gorbatiuk.perdep.dao.concretedao.ProjectDAO;
import olga.gorbatiuk.perdep.dao.concretedao.impl.mysql.MySqlCustomerDAO;
import olga.gorbatiuk.perdep.dao.concretedao.impl.mysql.MySqlDepartmentDAO;
import olga.gorbatiuk.perdep.dao.concretedao.impl.mysql.MySqlEmployeeDAO;
import olga.gorbatiuk.perdep.dao.concretedao.impl.mysql.MySqlPositionDAO;
import olga.gorbatiuk.perdep.dao.concretedao.impl.mysql.MySqlProjectDAO;

/**
 *
 * @author Olga Gorbatiuk
 */
public class MySqlDAOFactory extends DAOFactory {

    public static final String DRIVER = "";
    public static final String DBURL = "";

    public MySqlDAOFactory() {
    }

    public static Connection createConnection() {
        //TODO create connection
        return null;
    }

    @Override
    public CustomerDAO getCustomerDAO() {
        return new MySqlCustomerDAO();
    }

    @Override
    public ProjectDAO getProjectDAO() {
        return new MySqlProjectDAO();
    }

    @Override
    public EmployeeDAO getEmployeeDAO() {
        return new MySqlEmployeeDAO();
    }

    @Override
    public PositionDAO getPositionDAO() {
        return new MySqlPositionDAO();
    }

    @Override
    public DepartmentDAO getDepartmentDAO() {
        return new MySqlDepartmentDAO();
    }

}
